package com.kandinfo.survey.uploadquesiton.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.kandinfo.survey.uploadquesiton.service.UploadQuesService;

/**
 * UploadQuesController, created on 12/6/2016
 * <p>
 * to upload question from excel(and so on)
 * 
 * @author Patrick-chenziping-TG
 * @version 1.0
 * 
 */
@Controller
@RequestMapping(value = "/uploadques")
public class UploadQuesController {

    @Autowired
    UploadQuesService uploadQuesService;
    
    /**
     * 题目上传入口
     */
    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String index(Model model) {
        return "views/uploadques/uploadques-index";
    }
}
